package com.ordering.dao.order;

import java.util.List;

import com.ordering.entity.Order;
import com.ordering.entity.Page;

public interface OrderDao
{
    public int add(Order order, String itemIds) throws Exception;
    
    public int delect(Order order) throws Exception;
    
    public long count(Order order) throws Exception;
    
    public List<Order> get4page(Order order,Page page) throws Exception;
    
    public boolean updateStatus(Order order) throws Exception;
    
    public Order getById(int id) throws Exception;
}
